<script setup>
import MyFather from './mitt/MyFather.vue';
</script>

<template>
  <div>
    <!-- mitt是vue3中全局事件总线，类似于vue2中bus -->
    <!-- 需要先安装 npm i mitt -->
    <h1>mitt</h1>
    <MyFather/>
  </div>
</template>
<style>
</style>